package com.witmed.service;

/**
 * @author 侯仁杰
 */
import java.util.List;

import com.witmed.entity.Doctor;

public interface DoctorService {

	/**
	 * 修改医生信息
	 * 
	 * @param doctor
	 * @return
	 */
	boolean getUpdate(Doctor doctor);

	/**
	 * 医生登录
	 */
	List<Doctor> getLogin(String doctorName, String doctorPassword);

	List<Doctor> getPhoneLogin(String doctorTel);

	/**
	 * 新增医生 chenxiangyang
	 * 
	 * @param doctor
	 * @return
	 */
	boolean insertDoctors(Doctor doctor);

	/**
	 * 条件模糊查询
	 * 
	 * @return
	 */
	List<Doctor> findDoctors(String genre, String genres);

	/**
	 * 根据医生id 删除医生信息
	 * 
	 * @param doctorId
	 * @return
	 */
	boolean deleteByDoctorId(int doctorId);
}
